<?php

declare(strict_types=1);

namespace App\Constants;

use Hyperf\Constants\AbstractConstants;
use Hyperf\Constants\Annotation\Constants;

#[Constants]
class RequestSceneCode extends AbstractConstants
{
    /**
     * @Message("message.request.school")
     */
    const SCENE_SCHOOL_BINDING = 1;

    /**
     * @Message("message.request.user_address")
     */
    const SCENE_USER_ADDRESS = 2;

    /**
     * @Message("message.request.shipping_address")
     */
    const SCENE_SHIPPING_ADDRESS = 3;

    /**
     * 路径
     * @var string[]
     */
    public static $pathMap = [
        self::SCENE_SCHOOL_BINDING => '/pages/my/major-add/add',
        self::SCENE_USER_ADDRESS => '/pages/my/address-add/add',
        self::SCENE_SHIPPING_ADDRESS => '/pages/goods/address-add/add'
    ];
}
